API Call Error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-03-22 11:45 AM
I am working on Facebook graph API for workplace.ie Account management API(Graph API - Workplace - Documentation - Facebook for Developers) .I have integrate the account management API with blue prism .But I got error with code 400. I am new at webservices.
I am sharing some Attachment. I am doing something wrong. I didn't get that. please suggest something for that. With same details I also test that API in the postman and request successfully sent with status code 200 in postman.
.please give me suggestion regarding that
------------------------------
Tejashri Nevase
------------------------------
I am sharing some Attachment. I am doing something wrong. I didn't get that. please suggest something for that. With same details I also test that API in the postman and request successfully sent with status code 200 in postman.
------------------------------
Tejashri Nevase
------------------------------
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-03-22 12:06 PM
@Tejashri Nevase,
You're attempting to perform a POST, but you haven't defined a request body. According to the FB documentation, for that end point, you wat to create a JSON payload that looks something like this:
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
You're attempting to perform a POST, but you haven't defined a request body. According to the FB documentation, for that end point, you wat to create a JSON payload that looks something like this:
{
"name" : "John McLane",
"email" : "john@mclane.com",
"title" : "Salesman",
"department" : "US Sales",
"organization" : "Global Sales",
"manager" : 100013693981877,
"division" : "Cars",
"cost_center" : "CC1",
"external_id" : "1232112",
"invited" : true,
"work_locale" : "en_US",
"auth_method" : "PASSWORD"
}
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
25-03-22 12:58 PM
Now I am defining the request body as well. still get the same error as mention above
------------------------------
Tejashri Nevase
------------------------------
------------------------------
Tejashri Nevase
------------------------------
