You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.
I noticed that every method has both POST and OPTIONS enabled by default, however, that's not true for publications.
I am currently working on an angular project in order to integrate with my meteor app, and most of the GET requests are antecipated by an OPTIONS request, which in turn are not available as meteor rest endpoints.
I've been using the code below as a workaround, but I consider it error-prone and not productive at all: I'm always going back to my code looking for some error when I realize I just forgot to add these three lines...
I noticed that every method has both POST and OPTIONS enabled by default, however, that's not true for publications.
I am currently working on an angular project in order to integrate with my meteor app, and most of the GET requests are antecipated by an OPTIONS request, which in turn are not available as meteor rest endpoints.
I've been using the code below as a workaround, but I consider it error-prone and not productive at all: I'm always going back to my code looking for some error when I realize I just forgot to add these three lines...
My current packages are:
simple:rest
simple:json-routes
simple:rest-json-error-handler
simple:rest-accounts-password
simple:authenticate-user-by-token
The text was updated successfully, but these errors were encountered: