Replies: 1 comment
-
https://github.com/vlang/v/blob/master/vlib/veb/tests/veb_test_server.v have already been solved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
curl -X POST http://localhost:8082/mall1688_json/ -H "Content-Type: application/json" -d '{"offer_id_i64": 773317320626}'
api response:
The above code can only receive data in the
form-data
format. So what should I do if I want the post interface to receive data of typeapplication/JSON
?Beta Was this translation helpful? Give feedback.
All reactions