[Webinar] Streamline your web hosting managementRegister Today

x

REST

222

Solutions

451

Contributors

Representational state transfer (REST) is an architectural style that gives a coordinated set of constraints to the design of components in a distributed hypermedia system used to design networked applications. RESTful systems typically communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST interfaces with external systems using resources identified by Uniform Resource Identifier (URI) that can be operated upon using standard verbs.

Share tech news, updates, or what's on your mind.

Sign up to Post

seagate 30000gb hard drive shows up as  used 2.25 mb, and free 746 gb in properties.  Where is the rest of the drive.    Am i reading this right?  Drive came out of a Lacie external drive brand new.

Thanks
0
Hire Technology Freelancers with Gigs
LVL 11
Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Hi Everyone

I have finally got WSUS configured and updating my clients as I want.  I have set critical and security updates to Auto Approval and everything else to install automatically once specifically approved.

Assuming everything is OK with the Test OU I will push out to the rest of the domain.  I havent yet got round to the servers as I wanted to make certain I wasn't rebooting them unexpectedly.

I just have a couple of things that I wanted to clear up.  

1.  Am I right in thinking the Microsoft Updates are released monthly (every 2nd Tuesday) ?

2. Is there any websites or similar that list known problematic updates so I'm not blindly approving things that could cause a problem.  I have had a look at the Microsoft Update website and it appears to show Known Issues that the updates will fix.  We had a problem some time back with an Office update and it took a lot of googling to identify the specific update.

Thanks for reading :)
0
Hi Experts,

I need to use an API utility to import objects from a certain vendor site into my database.
and got those links as references.

-      REST API: https://howto.caspio.com/integration/web-services-api/rest-api/
-      SOAP API: https://howto.caspio.com/integration/web-services-api/soap-api/

Now I would like to know if you can give me some guidance how to start this project.

FYI- I am mainly familiar with MS Access VBA programming language.

Thanks in advance.
0
I have an apex rest service, which produces a CLOB.

I wanted to output this CLOB through string parameter.

when I try to do this, I am getting "PLSQL value error"

Below is my code, how do I this..

DECLARE
  l_cursor SYS_REFCURSOR;
  v_stmt_str      VARCHAR2(1000);
      
begin

   if (:status is NULL) then 
      v_stmt_str := 'select FROM_USER_NAME as "from_user_name", to_user_name as "to_user_name",  id as "id", type as "type", subject as "subject", message as "message", thread_id as "thread_id", status as "status", to_char(alert_date, ''YYYY-MM-DD"T"HH24:MI:SS"Z"'') as "alert_date" from user_alert where to_user_name = :username';
      OPEN l_cursor FOR v_stmt_str using :username;
   else
      v_stmt_str := 'select FROM_USER_NAME as "from_user_name", to_user_name as "to_user_name",  id as "id", type as "type", subject as "subject", message as "message", thread_id as "thread_id", status as "status", to_char(alert_date, ''YYYY-MM-DD"T"HH24:MI:SS"Z"'') as "alert_date" from user_alert where to_user_name = :username and status = :status';
      OPEN l_cursor FOR v_stmt_str using :username, :status;
   end if;
   

 APEX_JSON.initialize_clob_output;

  APEX_JSON.open_object;
  APEX_JSON.write('user_alert', l_cursor);
  APEX_JSON.close_object;


 
 
-- :output_val :=APEX_JSON.get_clob_output;;
  APEX_JSON.free_output;
  
end;

Open in new window

output_val is an output parameter which is of string type.
0
I can not change the fill color on an object (with internals) in Adobe Illustrator CC. What am I forgetting to do? I attached a PDF file. You will see an Owl with yellow feet and yellow nose. The rest of the body looks green. I just want to change the green to yellow. Later; I will make it all black for a film positive. Thank you.
AVID-2__Back_V2.pdf
0
Has someone  good experience with the REST API of Exchange Online in a hybrid configuration? A devolpment team wants to build a solution based on the REST API but we are running Exchange 2010. REST API is not supporter in Exchange 2010. Based on this article we think it is possible but we are curious to your experience!

Kind regards,
Lennart
0
I have a Windows AD environment and use DFS to sync three locations.   I want to use a MS Access file and have three computers at one site to do updates to the file.  The rest of the users will have a runtime reader to read only the file.   I've done some testing and the reader seams to lock the file as well.  One location reported a completely  mixed up file.   Am I fooling myself thinking this will work ?
0
I am working with a REST data source.  Single row returns aren't a problem as I can deserialize them using something like:
 JsonConvert.DeserializeObject(Of myInstantiatedClass)(httpResponseContent)

Retrieving a data list isn't a problem either.  But I am unable to deserialize it (using Newtonsoft.Json) into a .NET LIST collection.   A view of the simplified data looks like:
{
	"results":[
	{
		"id":"_198711_1"
	},
	{
		"id":"_198710_1"
	},
	]
}

Open in new window


I am using vb.net in this project but please feel free to send hints in c#!  I've tried various things including IEnumerate.  Simplifed snippet of the original code looks like this:
Public Class myClass
        Public Property id As String
End Class

...

 Dim myInstantiatedClass As New List(Of myClass)
        Dim response = Await client.GetAsync(Uri)
        If response.IsSuccessStatusCode Then
            Dim httpResponseContent = Await response.Content.ReadAsStringAsync()
            Try
                ' NEXT LINE IS WHERE ERRORS ARE THROWN 
                myInstantiatedClass = JsonConvert.DeserializeObject(Of List(Of InstantiatedClass ))(httpResponseContent)
            Catch jsonException As Newtonsoft.Json.JsonSerializationException
                Dim s As String = jsonException.Message
            End Try
        End If

Open in new window


The error code (using original variable and class names) reads:
"Cannot deserialize the current JSON object (e.g. {""name"":""value""}) into type 'System.Collections.Generic.List`1[BbRestApiExplorer.CourseGradeColumn]' because the type requires a JSON array (e.g. [1,2,3]) to deserialize correctly." 
"To fix this error either change the JSON to a JSON array (e.g. [1,2,3]) or change the deserialized type so that it is a normal .NET type (e.g. not a primitive type like integer, not a collection type like an array or List<T>) that can be deserialized from a JSON object. JsonObjectAttribute can also be added to the type to force it to deserialize from a JSON object." 
"Path 'results', line 1, position 11."

Open in new window


Any thoughts?   Thank you for your time.
0
I have created a template in Word 2010
It's say 10 pages. Pages 2-9 are identical. See rough sample attached in docx format
I'm wondering if it is possible to have the 1st page different to the rest of the template?
I tried this & it works to an extent but if I say try to move the table on Page 1 to the right of the screen,
it changes pages 2-9!
"On the View tab, select the Print Layout document view.
Double click the header area of the document.
On the Header & Footer Tools Design tab, in the Options group,
select the check box for Different First Page."

Is there some way to have an independant 1st page which I can format independantly?
I dont want to change pages 2-9. Just page 1
Any help would be much appreciated!
ExpExch.docx
0
Hi,
A client of ours is still sitting at "Windows Server 2003" for both the "domain and forest" functional levels. They only have 1 x 2008 member server with the rest of the member servers being Server 2012 and Server 2012 R2 editions.

We are having SYSVOL replication issues (I believe that it is still trying to use FRS versus using DFS Replication as it should be. We are also having DNS issues that we believe may be related to this as well.

I want to raise both the domain and forest functional levels, is there a specific order that these need to be done in? Is there a reboot of any kind required? Services that need to be restarted?

I haven't done this in several years so any suggestions are greatly appreciated.

Mike
0
Take Control of Web Hosting For Your Clients
LVL 11
Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

I am building a solution that will display KPI information on a set of large TV screens for our warehouse and we use Netsuite for our ERP. My netsuite developer that we have in house can build a REST API in netsuite that uses Token based authentication to expose the data that i need but i am having trouble finding information on how to connect to this API.
All help is much appreciated.
Regards Joel
0
I have a static list id in my database, and I am trying to use the rest api to query to get the name to be able to display.  Does anyone know if this is possible?  I see in their API documentation the ability to query a smart list, but I don't see anything about static lists.

Thanks in advance for the help.
0
I am using the rest api in marketo and trying to use the filter (http://developers.marketo.com/rest-api/bulk-extract/bulk-lead-extract/#filters) for the staticListId.  I would like a user to be able to just plugin the list id however I am having trouble finding the id of the list in marketo.  I have found the name and a unique string, but this claims it should be an integer.  Anyone know where the actual id is?

Thanks
0
Hi all Experts!

For about 3 weeks ago we installed 3 new Cisco servers and Exchange 2016 CU7. C: is local disk and the rest where the databases are are on SAN. OS is Windows server 2016

After the SAN disk was configured/connected to the servers they started to BSOD. So far i have seen ntoskrnl.exe and msexchnageworker in the dump files.

Have googled arround for some days now but cant find any good answers.

Anybody here that can advice?

Regards
Krister
0
Dear community members,

I have a big Excel document where I need to put the input message "Equivalence agreed. Model health attestations in Annex VII, Section 1(a) to be used. The EU may lay down its import certificates for live animals and animal products from New Zealand with a 'Yes-1' status in T" through Data Validation to every cell that contains "Yes(1)" in row C.

My code unfortunately just does this task for the first cell it encounters that contains "Yes(1)" and ignores the rest.

Sub Inputmessage()


' I need to activate all the cells and look for a special text in them


' Then I need to create a loop

Dim lrow As Long, rng As Range, cell As Range
lrow = Cells(Cells.Rows.Count, "C").End(xlUp).Row

Set rng = Range("C10:C500" & lrow)

For Each cell In rng
If InStr(1, cell.Value, "Yes(1)", vbTextCompare) > 0 Then
    With Selection.Validation
        .Delete
        .Add Type:=xlValidateInputOnly, AlertStyle:=xlValidAlertStop, Operator _
        :=xlBetween
        .IgnoreBlank = True
        .InCellDropdown = True
        .InputTitle = ""
        .ErrorTitle = ""
        .Inputmessage = "Equivalence agreed. Model health attestations in Annex VII, Section 1(a) to be used. The EU may lay down its import certificates for live animals and animal products from New Zealand with a 'Yes-1' status in T"
        .ErrorMessage = ""
        .ShowInput = True
        .ShowError = True
        End With
 End If
 
   
   Next cell
 

 
0
A customer wants to have users register, manage profile, reset password and this is possible using B2C.

What I'd like to know is, whether it is possible to integrate all this functionality in an existing web application and perform REST APIs to Azure B2C?
0
When I shot down my computer (or restart) I always get this error message:
Screenshotand the address is the same.

1) Can I rest assure that there IS a faulty memory card?
    IF SO: Is there any smart way to find out which of the 4, or is it just to take out on-at-the-time and see what happens.

2) Can it be something else that just LOOKS like a hard error?

Thanx for helping.
Knud, Denmark
Memory-could-not-be-written-1.jpeg
0
I have an existing web app hosted on MS Azure, written using VB in Visual Studio.
We haven't been using the REST API in Wordpress, but would like to now, especially to see if we can call Wordpress' UPDATE procedure for when a post is saved.

Currently, values from fields in a SQL Db are transferred to Wordpress' MySQL Db. It works OK, but we think it will be more efficient to call the UPDATE procedure to save each post 'the Wordpress way' after updating each record.

Can anyone supply some sample code for how we would login to Wordpress and update post_id "xxx" for example, ideally written in VB, although C++ might be workable if I can translate it...

Thank you
Tim
0
TLDR:  after a period of time ARP from  devices in a layer 2 connected VLAN quit registering on our SD-WAN edge device, stopping them from traversing that edge or being routed by that edge.

Hardware:
SD-WAN edge:  Velocloud Edge 540 (problem has persisted through numerous firmware revisions)
Cisco Stack:  1 Cisco SG500X-48 and 5 Cisco SG500X-48P’s connected loop/chain stack configuration using SFP+ fiber connectors. (also firmware updated more than once).

Configuration:
VC is the router/firewall SD-WAN with redundant internet connections that establishes edge to edge IPSEC tunnels and tunnel to our internet gateway.
The Cisco stack connects 10 VLAN’s to the VC but is not doing any routing or firewall activities.  The Cisco has 2 management IP interfaces in those VLANS (1 and 318), the rest are purely layer 2 connected.
Cisco interface to VC is set:
interface gigabitethernet1/1/8
 description VC-StackConnection
 switchport trunk allowed vlan add (necessary vlans)
 switchport default-vlan tagged (default-vlan being 1)


The VC is set:
Mode: Trunk
Drop Untagged


Symptoms:
After an unspecified amount of time (2 weeks to 6 weeks) at our HQ location where the equipment is located, most or all of the devices in some of the layer 2 connected VLAN’s cannot communicate externally.   Internal communication work as expected (same broadcast domain) for the most part.   Sometimes…
0
Free Tool: Port Scanner
LVL 11
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

how to cofigure eclipse to use by default chrome?
one of spring 4 rest json example url working fine in the chrom but not in eclipse default browser.
http://viralpatel.net/blogs/spring-4-mvc-rest-example-json/
how to know which default browser eclipse using like IE or mozilla etc?
please advise
0
Hey there,

I can scan to the share fine, but when I scan to PC it automatically saves into a subfolder with the current time and date.
I need it to not do this, because REST Filesmart processes files in the scan folder and can't look into deeper subfolders.
It used to work fine with a C5580 but the client has downgraded.

Any ideas?
I'm on site at the moment, so if I can get an answer soon that would be appreciated!!

Thanks
0
Rows 1 to 73  show what I am trying to do.

1. Move the contents  of the row below the call sign in Column B, or in Column C, (the columns are not regular) into Column O, on the the same row as the call sign from the row immediately above.
2 Where there is a suburb in column A, copy this name into each second row below, onto the same row as the call sign in column B, until there is another suburb.

I'll be able to tidy up the rest.

Thanks.
2017-TV-by-suburb-and-call-sign.xlsx
0
Hello ,

Im trying to find a quick easy way to import the results from a Web API into a sql server database , which will run every minute?

the example of the API is the following

https://bittrex.com/api/v1.1/public/getmarketsummaries   

Can anyone advise on this please?

Thanks
0
Hello Experts -

I have found that if I don't Disable Scripting (in Internet Options), that displaying web content in Internet Explorer is extremely slow - making many sites almost unusable.

Generally speaking, they freeze up or the scroll bars get stuck. I often get messages that say "web site is not responding" and iExplorer will then display a "recover webpage" button. The latter just reloads the same page to drag the experience anew.

But there are a few sites that are exceptions, if I idisable scripting as the default behavior via the setting in Internet Options. These sites are worthless without scripting.

So, is there a way I can get iExplorer turned to allow scripting for a few pre-defined sites - leaving scripting disable for all the rest.

Thanks.

Gordon
0
what are advantages of creating a REST service in Web API vs some other technologies in .NET like WCF, ASP .NET MVC etc.
0

REST

222

Solutions

451

Contributors

Representational state transfer (REST) is an architectural style that gives a coordinated set of constraints to the design of components in a distributed hypermedia system used to design networked applications. RESTful systems typically communicate over Hypertext Transfer Protocol (HTTP) with the same HTTP verbs (GET, POST, PUT, DELETE, etc.) that web browsers use to retrieve web pages and to send data to remote servers. REST interfaces with external systems using resources identified by Uniform Resource Identifier (URI) that can be operated upon using standard verbs.