Post

Replies

Boosts

Views

Activity

iOS App is not able to send post data from shortcut app to fast api
I a trying to create an api which will take health app details and store them in database. I have completed the shortcut app and also the api, but from postman things are fine but from shortcut app it is not finishing the task and getting stuck at "getcontent from url" part here is the code and shortcut app. from fastapi import Body, FastAPI, Response, status, HTTPException, Request from pydantic import BaseModel from random import randrange app = FastAPI() @app.post("/dummypath") async def get_body(request:Request):     req_info = await request.json()     return {         "Status":"Success",         "data":req_info     } The shortcut is created by this guy. https://betterprogramming.pub/create-an-apple-health-api-with-shortcuts-and-firebase-a76d178319b7
0
0
1.1k
Jul ’22
iOS App is not able to send post data from shortcut app to fast api
I a trying to create an api which will take health app details and store them in database. I have completed the shortcut app and also the api, but from postman things are fine but from shortcut app it is not finishing the task and getting stuck at "getcontent from url" part here is the code and shortcut app. from fastapi import Body, FastAPI, Response, status, HTTPException, Request from pydantic import BaseModel from random import randrange app = FastAPI() @app.post("/dummypath") async def get_body(request:Request):     req_info = await request.json()     return {         "Status":"Success",         "data":req_info     } The shortcut is created by this guy. https://betterprogramming.pub/create-an-apple-health-api-with-shortcuts-and-firebase-a76d178319b7
Replies
0
Boosts
0
Views
1.1k
Activity
Jul ’22