Oracle WebCenter Sites (MOSC)

MOSC Banner

Webcenter Sites REST API Asset Creation using POST & PUT Exceptions, Response Status 401

edited Jan 12, 2014 12:42AM in Oracle WebCenter Sites (MOSC) 2 commentsAnswered ✓
Intention is to create an asset using java code and the Sites REST API.First of I couldn't find the REST API samples anywhere in the installation or even source directories of the 11.1.1.8.0 Sites or JSK.
Instead I found the the samples in the 11.1.1.6.0 server.



The code I'm running after changing  the base URL in both the POSt and PUT methods:


    /*
     * $Logfile:$ $Revision:$ $Date:$ Copyright © 2010 FatWire Corporation, All
     * Rights Reserved. Copyright 2010 FatWire Corporation. Title, ownership rights,
     * and intellectual property rights in and to this software remain with FatWire
     * Corporation. This software is protected by international copyright laws and
     * treaties, and may be protected by other law. Violation of copyright laws may
Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center