cURL
curl --request POST \ --url https://openapi.octoparse.com/token \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "password": "<string>", "grant_type": "password" } '
{ "data": { "access_token": "<string>", "expires_in": 123, "token_type": "<string>", "refresh_token": "<string>" }, "requestId": "<string>" }
Octoparse OpenAPIにアクセスする前に、新しいトークンを取得するには、ユーザー名とパスワードが必要です。
アカウントのメールアドレスまたはユーザー名
アカウントのパスワード
passwordを指定してください。
password
"password"
トークンの取得に成功しました。
Show child attributes