Closed projovi closed 4 years ago
maybe you can refer to https://github.com/AgoraIO-Usecase/eEducation/issues/138
@srs888001 Thanks, But it's not the token error.
I have already Included Authorization in the header .
Content-Type : application/json
Authorization : Basic MmJkMzk3Y2Q1ZGYwNGM0MDkwMmI0ZmM0NTMwODU1NmE6ZGZh***
---Run In POSTMAN -- { "msg": "Internal Server Error", "code": 500 }
The API is a post request:https://api.agora.io/edu/v1/apps/MYAPPID/room/entry
, you can check it again.
@srs888001
I am using post request. Tried it again no luck !
It seems that you still use the RESTFul interface incorrectly. The parameters of the RESTFul interface post request are not directly spliced after the URL, but are put in the body.
Attached the REQUEST.
I am using POSTMAN to send requests.
the request body needs to use JSON
, not form-data
Worked ! Thanks
I have been trying to use the API, but keep landing on ERROR 500 What am I missing ????
https://api.agora.io/edu/v1/apps/MYAPPID/room/entry?appId=MYAPPID&roomName=12365214231546985&roomUuid=12365214231546985&userName=demouser&userUuid=300000000&role=2&type=2