Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I get an error when I try to invoke rest-api POST method with the URL. URL for POST is : "https://localhost/rest/v1/admin/datasources" .
When I invoked the rest api it gave the following error:
raise HTTPError('{} Client Error: {}'.format(response.status_code, response.reason), response=response)
requests.exceptions.HTTPError: 404 Client Error: Not Found
Note:
The server to which I want to post data is logged in.
I am able to access the URL and see the information of the datasources that are already created.
The file is in the JSON format. The contents are as per requirement.
Can someone help me with this?
0 REPLIES 0
