Support Topics Documentation Slack YouTube Blog

JSON body for api call to graphql endpoint?

Hi,

Is it possible to use a json string (see below) as the
body of an API service in the “business logic” section?

I’m just to send a POST request with JSON body to a graphql endpoint.

My Json:

{
“query”:“query {candidates{name years_exp li_url job_title notes id educations{school_name}}}”
}

Would it also be possible to pass variable values into
the json body?

Many thanks for your help.

Best regards,

Michael

Hi, @Michael_Smuts

The main thing you should pay attention to is that you can send any data in the body, most importantly that it would be JSON.

Regards,
Marina