en:python:webapi
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:python:webapi [2021/04/15 23:03] – [API] lonclegr | en:python:webapi [2021/04/25 22:58] (current) – [Architecture] lonclegr | ||
---|---|---|---|
Line 12: | Line 12: | ||
Before going further: yes I know that a lot of solutions may solve this issue but the target is to make the POC in less than one hour. As I used to develop Web Restful API then it is my choice. | Before going further: yes I know that a lot of solutions may solve this issue but the target is to make the POC in less than one hour. As I used to develop Web Restful API then it is my choice. | ||
+ | ===== Architecture ===== | ||
+ | {{ : | ||
+ | |||
+ | {{ : | ||
===== Client side ===== | ===== Client side ===== | ||
Line 60: | Line 64: | ||
</ | </ | ||
+ | If you are running linux laptop you can adapt the script with curl. | ||
+ | |||
+ | <code bash> | ||
+ | curl -i -XPOST --silent http:// | ||
+ | HTTP/1.1 201 CREATED | ||
+ | Server: gunicorn | ||
+ | Date: Fri, 16 Apr 2021 03:07:27 GMT | ||
+ | Connection: close | ||
+ | Content-Type: | ||
+ | Content-Length: | ||
+ | |||
+ | {" | ||
+ | </ | ||
===== Server side ===== | ===== Server side ===== | ||
en/python/webapi.1618542219.txt.gz · Last modified: 2021/04/15 23:03 by lonclegr