on 2023 Jun 06 10:16 AM
I need to call a rest service in POST, they give me the postman json.
I always work with a body in raw format, but now the body is in form-data.
How can I translate this format in abap?
Below what I do normally:
Request clarification before answering.
Problem solved:
Body - raw
Insert the key filed with = before the json:
Example:
input_data={
"request": {
"subject": "",
"description": "",
"requester": {
"name": ""
}
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
11 | |
9 | |
8 | |
7 | |
5 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.