Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 515 Vote(s) - 3.47 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Push notifications Drupal module - Remove device (Web services)

#1
I´ve started to work with this module and i´ve managed to register devices (following the instructions of his author posted [here][1]).

Now i'm trying to unregister devices but when i send the http delete request (sending the token parameter with the value stored in DB) the message that i obtain is "HTTP/1.1 301 Moved Permanently" and i have no idea what´s happening here.

I´ve been surfing the net but i didn´t find anything related to this...

If you need any additional info let me know.

Thanks in advance

EDIT:

I´m using a java rest client ([RESTClient 3.2.1](

[To see links please register here]

)), which worked for register devices, to test these web services.
To remove the device I´m setting a DELETE request pointing to this URL

[To see links please register here]

**

Where "1234" is the ID of a test device that I´ve saved before.

I´m still getting the error mentioned...

[1]:

[To see links please register here]

Reply

#2
Finally i´ve been able to discover where i was failing.

I was using this url


[To see links please register here]



But i forgot to specify the language too in the URL... Calling the following URL I was able to get this working.

[To see links please register here]


I hope this could be useful for someone else in future.
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through