HTTP Status 405 - Method Not Allowed - Trying to access http://<ServerIP>:8080/rest/items

129 views
Skip to first unread message

Natalia Queiroz

unread,
May 27, 2016, 5:17:55 PM5/27/16
to DSpace Community
Hello group,

I'm trying to access the Dspace Rest API through browser and server terminal and on both I'm getting HTTP Status 405 - Method Not Allowed, when accessing http://<ServerIP>:8080/rest/items.

Does anybody knows what should be happening?

Natalia Queiroz

unread,
May 30, 2016, 9:33:40 AM5/30/16
to DSpace Community
Anyone?

--
You received this message because you are subscribed to a topic in the Google Groups "DSpace Community" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dspace-community/NVuxNeZrcJk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dspace-communi...@googlegroups.com.
To post to this group, send email to dspace-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-community.
For more options, visit https://groups.google.com/d/optout.



--


Natália Oliveira

Natalia Queiroz

unread,
May 30, 2016, 10:54:06 AM5/30/16
to DSpace Community
Is there any configurations to be done to allow it?
--


Natália Oliveira

Claudia Jürgen

unread,
May 30, 2016, 11:08:10 AM5/30/16
to dspace-c...@googlegroups.com
Hi Natalia,

you can disable https see
https://wiki.duraspace.org/display/DSDOC5x/REST+API#RESTAPI-InstallingtheRESTAPI
This should not be used in production.

Hope this helps

Claudia Jürgen
-- 
Claudia Juergen
Eldorado

Technische Universität Dortmund
Universitätsbibliothek
Vogelpothsweg 76
44227 Dortmund

Tel.: +49 231-755 40 43
Fax: +49 231-755 40 32
claudia...@tu-dortmund.de
www.ub.tu-dortmund.de
Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank.
Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen.

Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax.

Luiz dos Santos

unread,
May 30, 2016, 11:26:46 AM5/30/16
to DSpace Community
Hi Nataila,

    It is a guess, did you are to access the main page of the rest-api, I mean that one with the description about the services? I am asking you because I see that you are using the http instead https, default you it is https, so you changed it in the rest-api web.xml, right? If you configuration is fine, next step should be look at the logs.

Best 
Luiz

--
You received this message because you are subscribed to the Google Groups "DSpace Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dspace-communi...@googlegroups.com.

Luiz dos Santos

unread,
May 30, 2016, 11:29:05 AM5/30/16
to DSpace Community
Hi... In my last e-mail, I mean are you able to access the main page of rest-api, sorry about my bad English.

Natalia Queiroz

unread,
May 30, 2016, 1:40:24 PM5/30/16
to Luiz dos Santos, DSpace Community
Hi Luiz and Claudia, thanks for your replies.

I checked and I'm accessing it with http and not seeing the page the description about the services, just the services titles like the picture bellow

Inline image 1


And I just access it from http://SERVERIP:8080/rest.

Communities works
Collection works
Itens not allowed
bitstrems not allowed

Any help will be appreciated.

Thanks team,
Natália

Luiz dos Santos

unread,
May 30, 2016, 2:36:08 PM5/30/16
to DSpace Community
Hi Natalia,

    The request that you are send is a post or a get? Because in case of a POST  request, you should be logged and use SSL. Is it a DSpace 5, right? 

Best 
Luiz

Natalia Queiroz

unread,
May 30, 2016, 3:16:10 PM5/30/16
to Luiz dos Santos, DSpace Community
Hi Luiz, I'm trying to get all the items in DSpace.

It seems very strange that I'm not seeing the information page when accessing /rest path and either commands as /rest/login works on server terminal.

I'm using Dspace 4.3 version

Natalia Queiroz

unread,
May 31, 2016, 12:40:56 PM5/31/16
to Luiz dos Santos, DSpace Community
Hello group, anyone has any alternative for my problem?

I'm really stuck on this :(
--


Natália Oliveira
Reply all
Reply to author
Forward
0 new messages