<title>Request Rejected</title>
The requested URL was rejected. Please consult with your
administrator.<br><br>Your support ID is: 14103002446716795353<br><br><a href='javascript:history.back();'>[Go
Back]</a></body>
<title>Request Rejected</title>
The requested URL was rejected. Please consult with your
administrator.<br><br>Your support ID is: 14103002446716795353<br><br><a href='javascript:history.back();'>[Go
Back]</a></body>
https://dev.ndhm.gov.in/devservice/v1/bridges is the API and following curl
curl --location --request POST ‘https://dev.ndhm.gov.in/devservice/v1/bridges’
–header ‘Authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDM5NjgwMzUsImlhdCI6MTY0Mzk2NzQzNSwianRpIjoiYTcxY2YwNzktNmUwMS00MmU2LTgwNDAtMWY1MGE2MjE1ZWIzIiwiaXNzIjoiaHR0cHM6Ly9kZXYubmRobS5nb3YuaW4vYXV0aC9yZWFsbXMvY2VudHJhbC1yZWdpc3RyeSIsImF1ZCI6ImFjY291bnQiLCJzdWIiOiI5Y2NhZDgxOS0yMGNkLTQzODItYTZmNC1hODk1NTFjYjhhNWQiLCJ0eXAiOiJCZWFyZXIiLCJhenAiOiJTQlhfMDAwMzg2Iiwic2Vzc2lvbl9zdGF0ZSI6ImViMTk1ZWQyLWIzMmYtNDZlMy1hOGYxLTRhMzg5OGVkNDNmNiIsImFjciI6IjEiLCJhbGxvd2VkLW9yaWdpbnMiOlsiaHR0cDovL2xvY2FsaG9zdDo5MDA3Il0sInJlYWxtX2FjY2VzcyI6eyJyb2xlcyI6WyJvZmZsaW5lX2FjY2VzcyJdfSwicmVzb3VyY2VfYWNjZXNzIjp7IlNCWF8wMDAzODYiOnsicm9sZXMiOlsidW1hX3Byb3RlY3Rpb24iXX0sImFjY291bnQiOnsicm9sZXMiOlsibWFuYWdlLWFjY291bnQiLCJtYW5hZ2UtYWNjb3VudC1saW5rcyIsInZpZXctcHJvZmlsZSJdfX0sInNjb3BlIjoib3BlbmlkIGVtYWlsIHByb2ZpbGUiLCJjbGllbnRJZCI6IlNCWF8wMDAzODYiLCJjbGllbnRIb3N0IjoiMTAuMjMzLjY4LjIwMSIsImVtYWlsX3ZlcmlmaWVkIjpmYWxzZSwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXNieF8wMDAzODYiLCJjbGllbnRBZGRyZXNzIjoiMTAuMjMzLjY4LjIwMSJ9.XeIz-ws5q5HFC9rGUywXFuXiXS8RLICJzSN32v-lmOv4jW4VkPQ6K6Gz3GVuFDsbHvHW6ZXRgjy2hdLkvQB4gvcNaW60TPNiVm6KRD6LpvZsNnOfJdJvaTS5Ei43SzYZ5BFF39U3uhnT2O5QREiZtARO0CaMIVd5u5gtJu5s0MF_XxdL4cuNv3dsTYU6sIxsttOUUOrGck8mNBmUMG6EcRS6bQe4pr7JHV_iRx9ZIiKX6BEMHSis5CVjSaXQmYlbrlmi8Q8hIVxk0AHeSkEeZt3-mQEE0IyHSl4iX4qc0WOkcbcRzCcc59RulFZQ97QP8Jtx1FdP3VlCGjjA5-dmxg’
–header ‘Content-Type: application/json’
–header ‘Cookie: TS01960242=01115a1c9089c0a967bf61b361770cc8e1f9b0be0e16de6816f96ca7e071cf3fe1bfb949e0e1b3e88e37ab80012748e83205b95604’
–data-raw ‘{
“url”: “https://eupchaarharyana.org.in”
}’
Hey @prabhat,
Try using below curl,
curl --location --request PATCH ‘https://dev.abdm.gov.in/devservice/v1/bridges’
–header ‘Content-Type: application/json’
–header ‘Authorization: bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJBbFJiNVdDbThUbTlFSl9JZk85ejA2ajlvQ3Y1MXBLS0ZrbkdiX1RCdkswIn0.eyJleHAiOjE2NDM5NzA5ODcsImlhdCI6MTY0Mzk3MDM4NywianRpIjoiMDZjNmMzM2MtNjRkMC00YWRkLTk5MmItZjU1YmUyZjc0N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M3viZ_hpe0UpyBnbvZQwiX0sJWg07nQ68jia4JecxXj2e4LP9tDxrWDtjHCqM-pLpKjlODUCa043g-L7LWPnweTw4YEFCV5kDwxsGxa93y2CItWOin6r_wu0x7z_qvH6bkTPYcmOWDa9gOu56uI9aKkYVmdBLOVoXNhRQ5-A’
–header ‘Cookie: TS011c04bd=01115a1c905313ee7aa0864a5062bd30b1fa0e2cb1897ec3671e9629098c79ccadaa66b02e5ac0fdc4eb5f36240b858461d6edefb8’
–data-raw ‘{
“url”: “https://eupchaarharyana.org.in”
}’
Thanks
not working in postman hit even in cURL. Do we need to register bridge to access registration APIs ?
if yes then please help to register and if not then please let me know the API to register patient in dev env using mobile OTP
Hey @prabhat
the bridge_id we found in token was `SBX_000386``which seems to be registered.
due to which you should be able to hit too,
below is the screenshot.
thanks