View Issue Details

IDProjectCategoryView StatusLast Update
0026147mantisbtapi restpublic2019-09-17 08:00
Reportermrn Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.22.0 
Summary0026147: Error "The requested URL was not found on this server." while connecting via REST API.
Description

I have two installations of Mantis.
One on version 2.17.1.
Other on version 2.22.0.
I need to connect to each of them using REST API.
For beginning as an experience, i try to get projects with "curl" command.
But always get an error drawn on the screenshot.
I also tried to connect to https://www.mantisbt.org, but had got the same error.
What is my mistake? What am I doing wrong? I tried different options.
Thank you for your reply.

TagsNo tags attached.

Activities

2019-09-16 17:02

 

Error.png (85,107 bytes)   
Error.png (85,107 bytes)   
dregad

dregad

2019-09-17 04:11

developer   ~0062834

In the screenshot, you are not using the correct URL for our bugtracker https://mantisbt.org/bugs/api/rest/

Also note that mrn is not a valid authorization token.

mrn

mrn

2019-09-17 08:00

reporter   ~0062845

I was able to connect to your bugtracker (I didn't really notice the word "bugs" in URL).

Also now I'm using authorization with token correctly.

But…

I checked my bug trackers, I use the correct URL for them.

I even inserted in "config_inc.php" file "$g_webservice_rest_enabled = on;" construction, but it did not help.

Issue History

Date Modified Username Field Change
2019-09-16 17:02 mrn New Issue
2019-09-16 17:02 mrn File Added: Error.png
2019-09-17 04:11 dregad Status new => feedback
2019-09-17 04:11 dregad Note Added: 0062834
2019-09-17 08:00 mrn Note Added: 0062845
2019-09-17 08:00 mrn Status feedback => new