Breakout

From The Socknet

Jump to: navigation, search

One function name exists to act not as a function but as a mount point for non-JSON operations, such as the Simple Sharing feature.

The breakout function name is used by appending another function name onto it.

For example, if the user's provider URL is http://socknetprovider.com/user1/, then the breakout-function share would be formed like so:

http://socknetprovider.com/user1/breakout/share

And used like so, according to its documentation:

http://socknetprovider.com/user1/breakout/share?url=http%3A%2F%2Fsitetoshare.com%2Ffunny_cat.jpg

Considerations

The breakout function name is never called a function in this documentation, because it doesn't do anything itself. It is simply a reserved token.

Personal tools